import requests, json


def miaoce_Login(data_username, data_pwd):

    url = "http://yun.zenm.vip/iot/account/login/"
    data = {
        "username": data_username,
        "password": data_pwd
    }
    json_data = json.dumps(data)
    res = requests.post(url=url, data=json_data)
    return res.json()
